<template>
  <div class="container">
    <h1>测试</h1>
    <div v-html="text"></div>
    <button @click="flag=!flag">ddd</button>
    <div v-if="flag" style="background: pind;width: 100px;height: 120px"></div>
  </div>
</template>

<script>
export default {
  name: "vedio",
  data() {
    return {
      data: '<p>\t天然气开采平台、燃气场站、集气站、调压站，城市燃气输配管路、阀井、工商用户，以及石油、石化行业的炼油厂、化工厂、冶金行业、电力行业等可能产生燃气泄漏的场所等。</p><p><br></p><p><img src="http://36.138.68.93:9081/file/gz/dangjian/202207/10.png"></p>',
      text: '',
      flag: false
    };
  },
  mounted() {
    console.log(11);
  },
  updated(){
    console.log(222);
  },
  created(){
    setTimeout(() => {
      this.text = this.data
    }, 3000);
  },
  methods: {},
};
</script>

<style></style>
